package com.youyoulong.framework.auth.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.youyoulong.framework.auth.dao.mapper.FrameUserMapper;
import com.youyoulong.framework.auth.service.IFrameUserService;
import com.youyoulong.framework.auth.vo.FrameUser;

@Service
public class FrameUserService implements IFrameUserService {

	@Resource(name="auth.frameUserMapper")
	private FrameUserMapper frameUserMapper;
	
	@Override
	public FrameUser getUser(FrameUser user) throws Exception {
		// TODO Auto-generated method stub
		
		
		
		return frameUserMapper.selectByPrimaryKey(user.getUserName());
	}

}
